import request from '../../utils/request'

//查询当前自测信息
export function selectMonitorById(id) {
  return request({
    url: `/fom/monitor/detailInfo/${id}`,
    method: 'get',
    params: {}
  })
}

//上传健康码
export function uploadImg(id, url) {
  return request({
    url: `/fom/monitor/uploadImg`,
    method: 'post',
    params: {
      id,
      url
    }
  })
}

//根据学生ID获取入校所有流程和当前所在流程
export function selectAllAndCurrent(id) {
  return request({
    url: `/fom/stuprocess/selectAllAndCurrent/${id}`,
    method: 'get',
    params: {}
  })
}
